{template Public:Page:header_top}

<div class="container-fluid"  style="background-color:#FFF"> 
<div class="container">
   
 	<div class="row">
 	<div class="col-lg-10">
    <span style="font-size:18px"> {if $member['shopname']}{echo $member['shopname']}{else}$member['username']{/if} </span>  {if $member['level']}<img src="/assets/img/level/level_{echo $member['level']}.png" title="等级值{echo $member['ability_level']}"/>{/if}  {if $member['isvip']}<img src="/assets/img/vip.png" title="VIP"/>{/if} {if $member['seller_level']}<img src="/assets/img/seller_credit_level/level_{echo $member['seller_level']}.gif"/>{/if}  
    
      	 &nbsp;完成质量：<span class="color_f60">{echo number_format($member['seller_works_quality']/100,2)}</span>
          &nbsp;工作速度：<span class="color_f60">{echo number_format($member['seller_works_peed']/100,2)}</span>
         &nbsp;服务态度：<span class="color_f60">{echo number_format($member['seller_works_attitude']/100,2)}</span>
   
        
       &nbsp; 好评率：<span class="color_f60">{echo $member['seller_haopinglu']/100}%</span>
     
     &nbsp; <i class="fa fa-map-marker"></i>{echo $member['provname']} {echo $member['cityname']} {echo $member['distname']}</li>

      </div>
      
       <div class="col-lg-2">
       <div class="row">
     <div class="text-right">
     {if C('opensharecode')}
    
    	{echo C('sharecode')}
    
     {/if}
     
     </div>
     </div>
      
    </div>
     </div>
    </div>
</div>
 
<div class="shop_logo" style="{if !empty($member['shop_logo_color'])}background-color:#{echo $member['shop_logo_color']}{/if}">
{if !empty($member['shop_logo'])}<img src="/{echo $member['shop_logo']}" style="height:120px" />{/if}
</div>

 
<div class="container-fluid btn-primary header_nav">
    <div class="row">
         <div class="container">

            <div class="row">
                <ul class="nav navbar-nav">
                          <li{if CONTROLLER_NAME=='Index'} class="active btn-primary"{/if}><a href="/shop/{echo $shopuid}">首页</a></li>
                          <li{if CONTROLLER_NAME=='Fuwu'} class="active btn-primary"{/if}><a href="/shop/fuwu/uid/{echo $shopuid}">所有服务</a></li>
                          <li{if CONTROLLER_NAME=='Evaluation'} class="active btn-primary"{/if}><a href="/shop/evaluation/uid/{echo $shopuid}">交易评价</a></li>
                          <li{if CONTROLLER_NAME=='Success'} class="active btn-primary"{/if}><a href="/shop/success/uid/{echo $shopuid}">中标记录</a></li>
                </ul>
                          
                <ul class="nav navbar-nav navbar-right">
                          <li><a href="#" onclick="dialogmessage('{echo $member['username']}');"><i class="fa fa-envelope-o"></i>联系</a></li>
                </ul>
    
            </div>

          </div>
     </div>
 </div>
 
{if $slidearray}
<div class="row">

    <div id="myCarousel" class="carousel slide">
      <ol class="carousel-indicators">
      {foreach $slidearray $key=>$slide}
        <li data-target="#myCarousel" data-slide-to="{echo $key}"{if $key==0} class="active"{/if}></li>
      {/foreach}
      </ol>
      <div class="carousel-inner">
      {foreach $slidearray $key=>$slide}
        <div class="{if $key==0}active {/if}item"><img src="/{echo $slide['filepath']}"  style="margin-left:auto;margin-right:auto;"/></div>
      {/foreach}  
      </div>
    </div>

</div>
<script>
$('.carousel').carousel();
</script>
{/if}
<br />

{if $fuwutop && CONTROLLER_NAME=='Index'}
<div class="container">
<div class="row">
<div class="well">
<h3>服务商推荐服务</h3>
<div class="row">
{foreach $fuwutop $key=>$value}
  {template Fuwu:Index:item}
{/foreach}
</div>
</div>
</div>
</div>
{/if} 

<div class="container">
	<div class="row">
	<div class="col-lg-2">
      <div class="row">
        <div class="well">
        <div class="row" style="padding-left:5px;padding-right:5px;">
        
        
        		<div class="databox-bottom bg-white no-padding">
				<div class="databox databox-xlg databox-halved radius-bordered databox-vertical">
                            <div class="bg-white" style="text-align:center">
                                <div>
                                    {echo GetAvatarSimple($member['uid'],120,'image-circular bordered-3 bordered-palegreen')}
                                </div>
                                <div>
                                    <span class="databox-header carbon no-margin"><h4>{echo $member['username']}</h4></span>
                                </div>
                            </div>
                            <div class="databox-bottom bg-white no-padding">
                                <div class="databox-row row-12">
                                    <div class="databox-row row-6 no-padding">
                                        <div class="databox-cell cell-6 no-padding text-align-center bordered-right bordered-platinum">
                                            <span class="databox-text sonic-silver  no-margin">收入</span>
                                            <span class="databox-number lightcarbon no-margin"><span class="color_f60">￥{echo  number_format($member['moneyin']/100,0)}</span></span>
                                        </div>
                                        <div class="databox-cell cell-6 no-padding text-align-center">
                                            <span class="databox-text sonic-silver no-margin">中标</span>
                                            <span class="databox-number lightcarbon no-margin">{echo $member['success_number']}</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>            
                   </div>
        
              <p><a onclick="Employ({echo $shopuid});" class="btn btn-darkorange" style="width:100%">雇用TA</a></p>
             
             <h4>服务地区：</h4>
             <p>{echo $member['provname']} </p>
             <p>{echo $member['cityname']} </p>
             <p>{echo $member['distname']} </p>
             
             <h4>服务范围：</h4>
             <p>{echo $member['category_name_1']} </p>
             <p>{echo $member['category_name_2']} </p>
             <p>{echo $member['category_name_3']} </p>  

      	</div>        
                                
        </div>
        
        {if $member['isvip']}
        <div class="well">
        <div class="row" style="padding-left:5px;padding-right:5px;">
       <table class="table">
                    <thead>
                        <tr>
                            <th>
                                <strong>联系方式</strong>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
   
                        <tr>
                            <td>
                               QQ：{echo $member['qq']}
                            </td>
                        </tr>
                        
                        
                         <tr>
                            <td>
                               电话：{echo $member['phone']}
                            </td>
                        </tr>
                
                    </tbody>
                </table>
        </div>
        
        </div>
        {/if}
        
        
      </div>
    </div>